package com.hcb.micro.service.impl;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hcb.micro.dao.interfaceClass.TerracePriceMapper;
import com.hcb.micro.dto.TerracePrice;
import com.hcb.micro.service.ITerracePriceService;

@Service("TerracePriceService")
public class TerracePriceServiceImpl implements ITerracePriceService {

	@Autowired
	TerracePriceMapper terracePriceMapper;

	@Override
	public int deleteByPrimaryKey(Integer id) {

		return terracePriceMapper.deleteByPrimaryKey(id);
	}

	@Override
	public int insert(TerracePrice record) {
		
		return terracePriceMapper.insert(record);
	}

	@Override
	public int insertSelective(TerracePrice record) {
		
		return terracePriceMapper.insertSelective(record);
	}

	@Override
	public TerracePrice selectByPrimaryKey(Integer id) {
	
		return terracePriceMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByPrimaryKeySelective(TerracePrice record) {
		
		return terracePriceMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(TerracePrice record) {
		
		return terracePriceMapper.updateByPrimaryKey(record);
	}

	@Override
	public List<Map<String, Object>> selectProPriByPara(Map<String, Object> map) {
		
		return terracePriceMapper.selectProPriByPara(map);
	}
	
	
	

}
